<admintpl file="header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:U('Amount/index')}">额度管理</a></li>
			<li class="active"><a>{$list_title}</a></li>
		</ul>
        <form class="form-horizontal js-ajax-forms" action="{:U('Amount/info_save')}" method="post">
			<fieldset>
				<div class="tabbable">
					<div class="tab-content">
							<fieldset>
								<div class="control-group">
									<label class="control-label">显示名称</label>
									<div class="controls">
										<input type="text" name="options[name]" value="{$info.name}"><span class="form-required">
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">额度</label>
									<div class="controls">
										<input type="number" name="options[amount]" value="{$info.amount}"><span class="form-required">
										<input type="hidden" name="options[id]" value="{$info.id}">
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">审核费</label>
									<div class="controls">
										<input type="number" name="options[interest]" value="{$info.interest}" >
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">咨询费</label>
									<div class="controls">
										<input type="number" name="options[examine]" value="{$info.examine}" >
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">顾问费</label>
									<div class="controls">
										<input type="number" name="options[consulting]" value="{$info.consulting}" >
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">逾期手续费</label>
									<div class="controls">
										<input type="number" name="options[overdue_fee]" value="{$info.overdue_fee}" >
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">续期费</label>
									<div class="controls">
										<input type="number" name="options[renewal_fee]" value="{$info.renewal_fee}" >
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">续期7天费用</label>
									<div class="controls">
										<input type="number" name="options[renewal_fee_sev]" value="{$info.renewal_fee_sev}" >
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">保证金</label>
									<div class="controls">
										<input type="number" name="options[bond_amount]" value="{$info.bond_amount}" >
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">是否启用</label>
									<div class="controls">
										<select name="options[status]">
										<php>$html_cache_on_checked=$info['status']=='0'?"selected":"";</php>
										<option value="0" {$html_cache_on_checked}>禁用</option>
										<php>$html_cache_on_checked=$info['status']=='1'?"selected":"";</php> 
										<option value="1" {$html_cache_on_checked}>启用</option>
									</select>
									</div>
								</div>
							</fieldset>
					</div>
				</div>

				<div class="form-actions">
					<button type="submit" class="btn btn-primary  js-ajax-submit">{:L("SAVE")}</button>
				</div>
			</fieldset>
		</form>
		
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>